import Vue from "vue";
import store from "@/store";
import imgPreview from "js-utils/imgPreview";
import ElementUI from "element-ui";
import ElComponents from "element-components";
import elComponentsConfig from "@/config/elComponents";
import CrudTemplate from "@/components/crud-template";
/**
 *
 * @author zzhijie
 * @date 2021-05-14
 */
Vue.use(imgPreview);
Vue.use(ElementUI, {size: store.state.size});
Vue.use(ElComponents, elComponentsConfig);
Vue.component(CrudTemplate.name, CrudTemplate);
